Skip to content

Cherry-pick #12086 to 6.8: Don't generate autodiscover config when no port matches host hints#12098

Merged
jsoriano merged 2 commits intoelastic:6.8from
jsoriano:backport_12086_6.8
May 28, 2019
Merged

Cherry-pick #12086 to 6.8: Don't generate autodiscover config when no port matches host hints#12098
jsoriano merged 2 commits intoelastic:6.8from
jsoriano:backport_12086_6.8

Conversation

@jsoriano
Copy link
Member

@jsoriano jsoriano commented May 8, 2019

Cherry-pick of PR #12086 to 6.8 branch. Original message:

On metricbeat, when the host autodiscover hint is used, and it includes
the port, one of the exposed ports has to match with the one in the
hint. If not, no configuration should be generated. If it is generated,
it will have empty hosts, what would lead to unexpected errors as the
ones seen in #8264.

Fixes #8264

…lastic#12086)

On metricbeat, when the host autodiscover hint is used, and it includes
the port, one of the exposed ports has to match with the one in the
hint. If not, no configuration should be generated. If it is generated,
it will have empty hosts, what would lead to unexpected errors as the
seen in elastic#8264.

(cherry picked from commit cc73643)
@jsoriano jsoriano force-pushed the backport_12086_6.8 branch from 1227ca7 to e3fd694 Compare May 8, 2019 11:42
@jsoriano jsoriano merged commit aa05f6a into elastic:6.8 May 28, 2019
@jsoriano jsoriano deleted the backport_12086_6.8 branch May 28, 2019 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants